package com.benmei.ntlive.dao;

import com.benmei.ntlive.entity.AgoraUid;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface AgoraUidDao {
    int insert(@Param("pojo") AgoraUid pojo);

    int insertSelective(@Param("pojo") AgoraUid pojo);

    int insertList(@Param("pojos") List<AgoraUid> pojo);

    int update(@Param("pojo") AgoraUid pojo);

    AgoraUid find(@Param("role") Integer role, @Param("ext_id") Integer ext_id);
}
